window: Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Apr 2019 20:15:39 +0000 (20:15 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Apr 2019 20:15:39 +0000 (20:15 +0000)
We must still reset cursors.

gtk/gtkwindow.c

index 57ea9b14ce8677ba522d454715d9b0f146345635..5babfe6b124325129165314d5a5fa6e7fe41cb33 100644 (file)
@@ -1786,9 +1786,11 @@ gtk_window_capture_motion (GtkWidget *widget,
       if (edge_under_coordinates (GTK_WINDOW (widget), x, y, i))
         {
           gtk_widget_set_cursor_from_name (widget, cursor_names[i]);
-          break;
+          return;
         }
     }
+
+  gtk_widget_set_cursor (widget, NULL);
 }
 
 static void